]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Small coding style fixes
authorAdel Gadllah <adel.gadllah@gmail.com>
Thu, 20 Oct 2011 20:40:22 +0000 (22:40 +0200)
committerAdel Gadllah <adel.gadllah@gmail.com>
Thu, 20 Oct 2011 20:42:30 +0000 (22:42 +0200)
js/ui/modalDialog.js
js/ui/telepathyClient.js

index faea99599ce596fd3210a42fd6b846079ba7785a..c2f3b39824e1f0de16eacb1e76e03117601c8bc5 100644 (file)
@@ -110,7 +110,7 @@ ModalDialog.prototype = {
         this._buttonLayout.destroy_children();
         this._actionKeys = {};
 
-        for (let i = 0; i < buttons.length; i ++) {
+        for (let i = 0; i < buttons.length; i++) {
             let buttonInfo = buttons[i];
             let label = buttonInfo['label'];
             let action = buttonInfo['action'];
index e9eb3ad965a2181f09490df7b366c41f429dc71b..695a12b7655066622fb785353bbaf58716380195 100644 (file)
@@ -900,7 +900,7 @@ ChatNotification.prototype = {
         }
 
         let groups = this._contentArea.get_children();
-        for (let i = 0; i < groups.length; i ++) {
+        for (let i = 0; i < groups.length; i++) {
             let group = groups[i];
             if (group.get_children().length == 0)
                 group.destroy();
@@ -938,7 +938,7 @@ ChatNotification.prototype = {
         let body = highlighter.actor;
 
         let styles = props.styles;
-        for (let i = 0; i < styles.length; i ++)
+        for (let i = 0; i < styles.length; i++)
             body.add_style_class_name(styles[i]);
 
         let group = props.group;